from django.db import models

class InboundGoods(models.Model):
    inbound_way = models.URLField(max_length=100, blank=True)
    title = models.CharField(max_length=100, blank=True)
    inbound_time = models.CharField(max_length=100, blank=True)
    photo = models.URLField(max_length=256, blank=True)
    describe = models.TextField(blank=True)
    return_id = models.IntegerField(default=1, blank=True)
    def __str__(self):
        return self.inbound_way + ' - ' + self.title
